package com.sgb.goods.entity;

import android.os.Build;

import androidx.annotation.RequiresApi;

import java.io.Serializable;
import java.util.Objects;

/**
 * 描述：视频文件实体类
 *
 * @author qiangHeNoo
 * <p>
 * 时间：2021.12.14
 */
public class VideoFileEntity implements Serializable {
    private long Size;
    private String Path;
    private boolean IsSelect;

    public long getSize() {
        return Size;
    }

    public void setSize(long size) {
        Size = size;
    }

    public String getPath() {
        return Path;
    }

    public void setPath(String path) {
        Path = path;
    }

    public boolean isSelect() {
        return IsSelect;
    }

    public void setSelect(boolean select) {
        IsSelect = select;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        VideoFileEntity that = (VideoFileEntity) o;
        return Size == that.Size &&
                IsSelect == that.IsSelect &&
                Path.equals(that.Path);
    }

    @Override
    public int hashCode() {
        return Objects.hash(Size, Path, IsSelect);
    }

    @Override
    public String toString() {
        return "VideoFileEntity{" +
                "Size=" + Size +
                ", Path='" + Path + '\'' +
                ", IsSelect=" + IsSelect +
                '}';
    }
}
